# -*- coding: utf-8 -*-
class Human:
    def eat(self):
        print('是人就要吃饭')
class ZhHum(Human):
    def eat(self):
        print('中国人用筷子吃饭')

class UsHuman(Human):
    def eat(self):
        print('美国人用叉子吃饭')
class AfricaHuman(Human):
    def eat(self):
        print('非洲人用手吃恩希玛')

def someone_eat(someone):
    someone.eat()

human = Human()
zh_human = ZhHum()
UsHuman = UsHuman()
AfricaHuman= AfricaHuman()

someone_eat(human)
someone_eat(zh_human)
someone_eat(UsHuman)
someone_eat(AfricaHuman)

